import com.google.gson.Gson
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.diagnostic.thisLogger
import okhttp3.Request
import org.junit.jupiter.api.DisplayName
import org.lhq.goldenplugin.entity.GoldenTrade
import org.lhq.goldenplugin.service.PriceService

import org.lhq.goldenplugin.utils.OkHttpClient
import java.io.IOException
import kotlin.test.Test

class OkHttpTest {

    private val logger = logger<OkHttpTest>()

    @Test
    @DisplayName("测试OkHttpClient")
    fun testOkHttpClientGetRequest() {
        val priceService = PriceService()
        val price = priceService.fetchPrice()
    }
}